package com.ems.system.service;

import com.alibaba.fastjson.JSONArray;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ems.system.entity.SysMenu;

import java.util.List;

public interface SysMenuService extends IService<SysMenu> {

    JSONArray getMenuTree(List<String> roles);

    void editMenu(SysMenu sysMenu);

    void delMenu(Long id);

    List<SysMenu> queryAllMenus(List<String> roles);

    JSONArray getMenuTable(String blurry);

    List<String> getUrlsByRoles(List<String> currentRoles);

    List<String> getPermission();
}
